﻿using System;

namespace Elderos.Highlight.Rules
{
    [AttributeUsage(AttributeTargets.Class)]
    public class RankingRuleAttribute : Attribute
    {
        public RankingRuleAttribute(string name, RuleType ruleFlags = RuleType.Default)
        {
            Name = name;
            Flags = ruleFlags;
        }

        public RuleType Flags { get; set; }

        private bool _isActive = true;
        public bool IsActive
        {
            get { return _isActive; }
            set { _isActive = value; }
        }

        public string Name { get; private set; }
    }
}
